package com.gitee.wsl.collections.delegate

import com.gitee.wsl.collections.set.api.SortedSet


/**
 * Sorted Set type that delegates to another implementation.
 *
 * @param <T>
 * Set item type.
 *
 * @author Matt Coley
</T> */
open class DelegatingSortedSet<T>(protected open val delegate: SortedSet<T>) : SortedSet<T> by delegate {
//    override fun add(element: T): Boolean = delegate.add(element)
//
//    override fun remove(element: T): Boolean = delegate.remove(element)
//
//    override fun first(): T = delegate.first()
//    override fun iterator(): Iterator<T>  = delegate.iterator()
//
//    override fun containsAll(elements: Collection<T>): Boolean = delegate.containsAll(elements)

}
